php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#148706 - 11/26/01 12:13 PM [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Ok I am going to release this hack. It's is a views counter that works with the cache, but does not work with the accelerator. It is VERY BETA, I warn you up front, so don't scream and yell if it doesn't work perfect. In fact, if you are not comfortable installing BETA hacks, don't install this at all. With those things in mind, download the hack below. This hack was based off of JB007's original hack for 6.0x.

Download
Views Counter 5.0 [BETA]

Demo
http://www.vhforums.com

<font color="#000000" size="1">[ 11-28-2001 06:18 PM: Message edited by: Slurpee ]</font>
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148707 - 11/26/01 12:25 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Thanks Slurpee... if you used JB's from before and upgraded to this one, would the counts form the old one remain?
_________________________
- Allen wavey
- What Drives You?

Top
#148708 - 11/26/01 12:37 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Yep did on mine.
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148709 - 11/26/01 04:09 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
1QuickSI Offline
Coder

Registered: 06/10/01
Posts: 705
Loc: CT
Is there a way to keep the date and time of when the thread was started? Took alook at your site and think this is going to be another one of those must haves!
_________________________
...Steven
Hostboard.com
Running UBB v6.1.0.4
Doing what NO other UBB in the world is doing.
The first & only production UBB powered by MySQL.

Top
#148710 - 11/26/01 04:22 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
I don't think I have that anywhere, I just have the last time the topic was replied to on the topic page. What am I missing? Where are you looking?
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148711 - 11/26/01 04:26 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
1QuickSI Offline
Coder

Registered: 06/10/01
Posts: 705
Loc: CT
I took a look at your site vs my development site. Mine also has along with the user, the date and time the thread started.

My develoment site:
www.pwrhouse.com/cgi-bin/ultimatebb.cgi
_________________________
...Steven
Hostboard.com
Running UBB v6.1.0.4
Doing what NO other UBB in the world is doing.
The first & only production UBB powered by MySQL.

Top
#148712 - 11/26/01 04:36 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
I see what you're talking about. Yes you have that on your Topics Display, I don't. So now what's the question you're asking? <img src="smile.gif" border="0" alt="" />
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148713 - 11/26/01 05:24 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
1QuickSI Offline
Coder

Registered: 06/10/01
Posts: 705
Loc: CT
To also include the date and time stamps of when the thread started <img src="smile.gif" border="0" alt="" />
_________________________
...Steven
Hostboard.com
Running UBB v6.1.0.4
Doing what NO other UBB in the world is doing.
The first & only production UBB powered by MySQL.

Top
#148714 - 11/26/01 05:48 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Oh you mean as part of this Views Counter thing?
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148715 - 11/26/01 08:36 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
1QuickSI Offline
Coder

Registered: 06/10/01
Posts: 705
Loc: CT
Yeppers <img src="biggrin.gif" border="0" alt="" />
_________________________
...Steven
Hostboard.com
Running UBB v6.1.0.4
Doing what NO other UBB in the world is doing.
The first & only production UBB powered by MySQL.

Top
#148716 - 11/26/01 08:57 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
I'm a little confused in ubb_forum.cgi part.

Quote:
quote:


but i already have the who's online code there. Do i skip over this step if i do er...what?

Top
#148717 - 11/26/01 09:54 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
wwb95 Offline
Member

Registered: 11/14/01
Posts: 154
It works fine with me. There is an error in the code I think you should add a "}" in this code
Code:
code:

it should be
Code:
code:

another thing if you have last replay by hack instald you should change this
Code:
code:

to be
Code:
code:

I am not sour about the last step because I have added a colomin for this hack in the form page
I am using v6.1.0.3

Top
#148718 - 11/26/01 09:56 PM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
wwb95 Offline
Member

Registered: 11/14/01
Posts: 154
Oh I forget
Thank you very much for this hack I rely need it in my form

Top
#148719 - 11/27/01 12:06 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Code:
code:


<font color="#000000" size="1">[ 11-27-2001 12:08 AM: Message edited by: Slurpee ]</font>
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148720 - 11/27/01 12:10 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Quote:
quote:


Thanks made the fix. With regards to placement because of other hacks....There is no way for me to make a bunch of different variations of this hack with all the possible layout changes and hacks people have added. You will have to have some understanding of placing variables in the public_forum_page.pl template if you have a bunch of different hacks that are affecting placement of the $v_counter variable.
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
#148721 - 11/27/01 01:04 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
KLoWn Offline
Member

Registered: 06/27/01
Posts: 45
I do BEG you please make it compatible with qasics hacks. Whois online. I am sure qasic will help if you ask <img src="smile.gif" border="0" alt="" /> He is a heck of a guy (when you can get him to respond to ya LoL)

Anyway if it is compatibale with popular hack it would be nice. Anyone who finds out what it is compatible with should list them so you know what hacks cause problems. That way when people ask you can tell them that it is compatible with or not any particular hack.. (Less problems for you the DEV if you know what works and what doesn't)

Anyways this is only a suggestion...

Top
#148722 - 11/27/01 01:15 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Variables Offline
Member

Registered: 12/03/00
Posts: 350
In this part the v_counter with hypercells in public_forum_page.pl:

<td nowrap="nowrap" valign="top" bgcolor="$alt_color" align="left" $alt_HyperCells$HyperCellPath>
<font size="1" face="$vars_style{FontFace}">
$TheDate</font> <font size="1" face="$vars_style{FontFace}" color="$vars_style{TimeColor}">$last_time</font>
<font size="1" face="$vars_style{FontFace}">$last_post_username</font> $v_counter</td>

This was crushing the tables. <img src="frown.gif" border="0" alt="" />
_________________________
"I have not failed. I've just found 10,000 ways that won't work."
- Edison -

www.cyberty.nl

Top
#148723 - 11/27/01 05:28 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
dreamer Offline
Member

Registered: 02/02/01
Posts: 112
Can anyone tell us if this mod worked with Hypercells and Last reply ? It will be great if he tell us the code we must change in public_forum.pl

Oh and dont forget
Great job Slurpee

Top
#148724 - 11/27/01 07:26 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
M@RCOS Offline
Member

Registered: 11/16/01
Posts: 31
Loc: SAO paulo
please she can help I thank. in the control panel after me updating appears the following message: You did not completes all required fields.
You did not completes: count_views
(and these options don't exist for me to change.)
_________________________
M@RCOS

Top
#148725 - 11/27/01 10:57 AM Re: [6.1x] Thread Views Counter 5.0 (BETA, VERY BETA)!
Slurpee Offline
Member

Registered: 01/11/00
Posts: 322
Quote:
quote:


It works with Who's Online just fine, as documented in the instructions. If somebody wants to document which hacks it works with and let me know, then that's fine, but I am not running a lot of hacks, so I don't know. I mean it should work with EVERY hack, it might just be a matter of where code needs to be placed in public_forum_page.pl, depending on your board's layout. Also you can look at my board an the stuff I am running, and get a good idea of what things it works with.

<font color="#000000" size="1">[ 11-27-2001 11:08 AM: Message edited by: Slurpee ]</font>
_________________________
Webmaster Van Halen Links.com
http://www.vhlinks.com
UBB Support Moderator
http://community.infopop.net/

Top
Page 1 of 4 1 2 3 4 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks